<?php
namespace app\api\controller;
use app\common\business\CategoryBus;

class Category extends ApiBase{

    /*
     * 获取所有数据
     */
    public function index(){
        $categoryBusObj = new CategoryBus();
        $data = $categoryBusObj->getNormalCategorys();
        halt($data);

    }
}